import re
print("计科2011-12-匡鑫")
def extract_image_urls(html_content):
    # 使用正则表达式匹配所有以.jpg结尾的图片src属性值
    image_urls = re.findall('src="([^"]*\.jpg)"', html_content,re.IGNORECASE)

    # 创建一个空列表来存储处理后的URL
    processed_urls = []

    # 遍历所有匹配到的图片地址，并在每个地址前添加网站基础URL
    for url in image_urls:
        if not url.startswith('http'):  # 确保非绝对路径时添加基础URL
            processed_url = 'https://www.tute.edu.cn/' + url
            processed_urls.append(processed_url)
        else:  # 已经是绝对路径则直接加入列表
            processed_urls.append(url)

    return processed_urls


# 示例HTML内容，注意：这里只是示例的一部分，实际应用中可能需要处理整个HTML文档
html_content = '''  
<div id="line_u7_0" class="col-lg-3 col-md-3 col-sm-3 col-xs-9" style="margin: 
10px;padding: 0px;border: 1px solid #E4E4E4">
<a href="../info/1103/4582.htm" style="width: 100%;display: block;position: 
relative;text-decoration: none;outline: none">
<img src="/__local/6/F6/65/810526C24A2D78CA7980017F8AC_66F27B38_D79E4.jpg" style="width: 100%;height: 230px">
 <div style="position:absolute;right: 0px;bottom: 0px;width: 87px;height: 
36px;text-align: center;line-break: 36px;background: rgba(247,147,30,0.5);color: 
#fff;font-size: 21px">07-13</div>
</a>
<span style="padding: 15px 15px;height: 45px;display: block">《校园》冬
日（2022 年 1 月 20 日晨）</span>
</div>
<div id="line_u7_1" class="col-lg-3 col-md-3 col-sm-3 col-xs-9" style="margin: 
10px;padding: 0px;border: 1px solid #E4E4E4">
<a href="../info/1103/4581.htm" style="width: 100%;display: block;position: 
relative;text-decoration: none;outline: none">
<img 
src="/__local/1/11/02/8DD8B78E1C645BB6AF2296C60B0_E51A8329_CE066.jpg" style="width: 100%;height: 230px">
 <div style="position:absolute;right: 0px;bottom: 0px;width: 87px;height: 
36px;text-align: center;line-break: 36px;background: rgba(247,147,30,0.5);color: 
#fff;font-size: 21px">07-13</div>
</a>
<span style="padding: 15px 15px;height: 45px;display: block">《校园》冬
日（2022 年 1 月 20 日晨）</span>
</div>
<div id="line_u7_2" class="col-lg-3 col-md-3 col-sm-3 col-xs-9" style="margin: 
10px;padding: 0px;border: 1px solid #E4E4E4">
<a href="../info/1103/4299.htm" style="width: 100%;display: block;position: 
relative;text-decoration: none;outline: none">
<img src="/__local/C/C8/BA/99514BEA496D696A88F598A9773_383A9298_FC218.jpg" style="width: 100%;height: 230px">
 <div style="position:absolute;right: 0px;bottom: 0px;width: 87px;height: 
36px;text-align: center;line-break: 36px;background: rgba(247,147,30,0.5);color: 
#fff;font-size: 21px">05-27</div>
</a>
<span style="padding: 15px 15px;height: 45px;display: block">《校园》
2022 之夏</span
'''

# 调用函数并打印结果
processed_image_urls = extract_image_urls(html_content)
print(processed_image_urls)